package com.szy.mvp_demo.mvp_m;

import com.szy.mvp_demo.Entity.MessageListEntity;
import com.szy.mvp_demo.mvp_p.OnDataSuccedListener;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/1/22 0022.
 */

public class MessageListModelYW implements BaseListModel {
    @Override
    public void loadData(OnDataSuccedListener listener) {
        List<MessageListEntity> data = new ArrayList<>();
        data.add(new MessageListEntity("要闻", "2018-01-20", "发改委谈雪乡和亚布力事件：东北营商环境比沿海差", "http://p3.so.qhimgs1.com/bdr/326__/t0121f197d096b708e3.jpg"));
        data.add(new MessageListEntity("要闻", "2018-01-20", "发改委谈雪乡和亚布力事件：东北营商环境比沿海差", "http://p3.so.qhimgs1.com/bdr/326__/t0121f197d096b708e3.jpg"));
        data.add(new MessageListEntity("要闻", "2018-01-20", "发改委谈雪乡和亚布力事件：东北营商环境比沿海差", "http://p3.so.qhimgs1.com/bdr/326__/t0121f197d096b708e3.jpg"));
        data.add(new MessageListEntity("要闻", "2018-01-20", "发改委谈雪乡和亚布力事件：东北营商环境比沿海差", "http://p3.so.qhimgs1.com/bdr/326__/t0121f197d096b708e3.jpg"));
        listener.upDataView(data);
    }
}
